package com.RedRiver.hospitalsystem.finance_service.client.param;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ChangeBillByIdFromClient {
    private Integer billId;

    /**
     * 账单编号
     */
    private String billNo;

    /**
     * 检查或处方id
     */
    private Integer checkId;

    /**
     * 患者id
     */
    private Integer patientId;

    /**
     * 金额
     */
    @DecimalMin(value = "0.00",message = "金额不宜过低")
    private BigDecimal billPrice;

    /**
     * 收费人id
     */
    private Integer workerId;

    /**
     * 账单状态  0未支付 1已支付 2已退款
     */
    private Integer billState;

    /**
     * 创建日期
     */
    private LocalDateTime createTime;

    /**
     * 缴费日期
     */
    private LocalDateTime billTime;

    /**
     * 缴费方式id
     */
    private Integer paymethodId;

    /**
     * 缴费账号
     */
    private String billPayaccount;
    /**
     * 缴费类别 1药品 2检查 3挂号
     */
    private Integer paymentId;
    /**
     * 账单是否已消费 0未 1已
     */
    private Integer medicineState;
}
